var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var copyConf = require('../../app/config/copyConf');
var dataApi = require('../../app/libs/dataApi');

suite('copyConf', function () {
    suite('getCarbonRandomRewardConf', function () {
        test('获取副本随机奖励配置', function () {
            copyConf.getCarbonRandomRewardConf(1000);
        });
    });

    suite('getCopyBuildConf', function () {
        test('获取副本建筑配置', function () {
            copyConf.getCopyBuildConf(1000);
        });
    });

    suite('getCopyHeroConf', function () {
        test('获取副本英雄配置', function () {
            copyConf.getCopyHeroConf(1000);
        });
    });

    suite('getCopyCondition', function () {
        test('获取副本英雄配置', function () {
            copyConf.getCopyCondition(1000).length.should.equal(0);
            copyConf.getCopyCondition(10101).length.should.equal(3);
        });
    });
});
